<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>add_demo</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 13/01/2005</div>
    <p>
      <b>add_demo</b> -  Add an entry in the demos list</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>add_demo(title,path)</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>title</b>
        </tt>: a character string, the demo title</li>
      <li>
        <tt>
          <b>path</b>
        </tt>: a character string, the path of the scilab script associated
	  with the demo</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    This function adds a new entry in the demos list. The demo should be
    executed by a Scilab script file. If the given <tt>
        <b>title</b>
      </tt> already exists
    in the demo list associated with the same file nothing is done.
    The function checks if the file exist.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

  //create a simple demo script
  path=TMPDIR+'/foo.sce';
  mputl('disp Hello',path)
  add_demo('My first demo',path)
  //the demo can now be run using the "Demos" menu.
  
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="add_help_chapter.htm">
        <tt>
          <b>add_help_chapter</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>
    Serge Steer , INRIA
  </p>
  </body>
</html>
